package com.example.event;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationEvent;

/**
 * Created by IntelliJ IDEA2021.3
 * @Author: Tenghw
 * @Date: 2022/09/26  20:14
 * @Description: 自定义事件类——用户注册成功后，送500积分
 */
@Slf4j
public class AddIntegralEvent extends ApplicationEvent {

    public AddIntegralEvent(Object source) {
        super(source);
        log.warn("这是我自定义的事件类——Account1Event....");
    }
}
